It was the entity that read the trap queue elements that was responsible for interpreting this value.
2.
The " queue . enqueue " and " queue . dequeue " methods likely have instructions to update the queue's member variables such as its size, beginning and ending positions, assignment and allocation of queue elements, etc . In addition, the " queue . isEmpty ( ) " and " queue . isFull ( ) " methods read this shared state as well.